<div class="margin-top">
    <div class="row margin-top-lg">
        <div class="col-lg-2 padding-right-xs padding-right-xl ">
            <button type="button" class="btn btn-primary btn-sm" style="margin-left:10px"
                v-on:click="_queryChargeRuleFeeMethod()">
                查询
            </button>
            <button type="button" class="btn btn-primary btn-sm" v-on:click="_openAddChargeRuleFeeModal()">
                <i class="glyphicon glyphicon-plus"></i>
                <span>
                    <vc:i18n name="添加" namespace="marketTextManage"></vc:i18n>
                </span>
            </button>
        </div>
    </div>
    <div class="margin-top">
        <table class="footable table table-stripped toggle-arrow-tiny" data-page-size="15">
            <thead>
                <tr>
                    <th class="text-center"><span>
                            <vc:i18n name='编号' namespace='chargeRuleFee'></vc:i18n>
                        </span>
                    </th>
                    <th class="text-center">
                            <vc:i18n name='功率' namespace='chargeRuleFee'></vc:i18n>
                    </th>
                    <th class="text-center">
                            <vc:i18n name='小时电价' namespace='chargeRuleFee'></vc:i18n>
                    </th>
                    <th class="text-center"><span>
                            <vc:i18n name='备注' namespace='chargeRuleFee'></vc:i18n>
                        </span>
                    </th>
                    <th class="text-center"><span>
                            <vc:i18n name='操作'></vc:i18n>
                        </span></th>
                </tr>
            </thead>
            <tbody>
                <tr v-for="chargeRuleFee in chargeRuleFeeInfo.chargeRuleFees">
                    <td class="text-center">{{chargeRuleFee.crfId}}</td>
                    <td class="text-center">{{chargeRuleFee.minEnergyPrice}}~<br/>
                        {{chargeRuleFee.maxEnergyPrice}}
                    </td>
                    <td class="text-center">{{chargeRuleFee.durationPrice}}</td>
                    <td class="text-center">{{chargeRuleFee.remark}}</td>
                    <td class="text-center">
                        <div class="btn-group">
                            <button class="btn-white btn btn-xs"
                                v-on:click="_openEditChargeRuleFeeModel(chargeRuleFee)"><span>
                                    <vc:i18n name='修改'></vc:i18n>
                                </span></button>
                        </div>
                        <div class="btn-group">
                            <button class="btn-white btn btn-xs"
                                v-on:click="_openDeleteChargeRuleFeeModel(chargeRuleFee)"><span>
                                    <vc:i18n name='删除'></vc:i18n>
                                </span></button>
                        </div>
                    </td>
                </tr>
            </tbody>
            <tfoot>
                <tr>
                    <td colspan="7">
                        <ul class="pagination float-right"></ul>
                    </td>
                </tr>
            </tfoot>
        </table>

        <!-- 分页 -->
        <vc:create path="frame/paginationPlus" namespace="chargeRuleFee"></vc:create>
    </div>

    <vc:create path="machine/addChargeRuleFee"
               callBackListener=""
               callBackFunction=""
    ></vc:create>
    <vc:create path="machine/editChargeRuleFee"></vc:create>
    <vc:create path="machine/deleteChargeRuleFee"></vc:create>
</div>